3.103 \(\int \frac{a+b \tanh ^{-1}(c x^3)}{x} \, dx\)

Optimal. Leaf size=30 \[ -\frac{1}{6} b \text{PolyLog}\left (2,-c x^3\right )+\frac{1}{6} b \text{PolyLog}\left (2,c x^3\right )+a \log (x) \]

[Out]

a*Log[x] - (b*PolyLog[2, -(c*x^3)])/6 + (b*PolyLog[2, c*x^3])/6

________________________________________________________________________________________

Rubi [A]  time = 0.0337, antiderivative size = 30, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {6095, 5912} \[ -\frac{1}{6} b \text{PolyLog}\left (2,-c x^3\right )+\frac{1}{6} b \text{PolyLog}\left (2,c x^3\right )+a \log (x) \]

Antiderivative was successfully verified.

[In]

Int[(a + b*ArcTanh[c*x^3])/x,x]

[Out]

a*Log[x] - (b*PolyLog[2, -(c*x^3)])/6 + (b*PolyLog[2, c*x^3])/6

Rule 6095

Int[((a_.) + ArcTanh[(c_.)*(x_)^(n_)]*(b_.))^(p_.)/(x_), x_Symbol] :> Dist[1/n, Subst[Int[(a + b*ArcTanh[c*x])
^p/x, x], x, x^n], x] /; FreeQ[{a, b, c, n}, x] && IGtQ[p, 0]

Rule 5912

Int[((a_.) + ArcTanh[(c_.)*(x_)]*(b_.))/(x_), x_Symbol] :> Simp[a*Log[x], x] + (-Simp[(b*PolyLog[2, -(c*x)])/2
, x] + Simp[(b*PolyLog[2, c*x])/2, x]) /; FreeQ[{a, b, c}, x]

Rubi steps

\begin{align*} \int \frac{a+b \tanh ^{-1}\left (c x^3\right )}{x} \, dx &=\frac{1}{3} \operatorname{Subst}\left (\int \frac{a+b \tanh ^{-1}(c x)}{x} \, dx,x,x^3\right )\\ &=a \log (x)-\frac{1}{6} b \text{Li}_2\left (-c x^3\right )+\frac{1}{6} b \text{Li}_2\left (c x^3\right )\\ \end{align*}

Mathematica [A]  time = 0.0136819, size = 28, normalized size = 0.93 \[ \frac{1}{6} b \left (\text{PolyLog}\left (2,c x^3\right )-\text{PolyLog}\left (2,-c x^3\right )\right )+a \log (x) \]

Antiderivative was successfully verified.

[In]

Integrate[(a + b*ArcTanh[c*x^3])/x,x]

[Out]

a*Log[x] + (b*(-PolyLog[2, -(c*x^3)] + PolyLog[2, c*x^3]))/6

________________________________________________________________________________________

Maple [C]  time = 0.029, size = 92, normalized size = 3.1 \begin{align*} a\ln \left ( x \right ) +b\ln \left ( x \right ){\it Artanh} \left ( c{x}^{3} \right ) +{\frac{b}{2}\sum _{{\it \_R1}={\it RootOf} \left ( c{{\it \_Z}}^{3}-1 \right ) }\ln \left ( x \right ) \ln \left ({\frac{{\it \_R1}-x}{{\it \_R1}}} \right ) +{\it dilog} \left ({\frac{{\it \_R1}-x}{{\it \_R1}}} \right ) }-{\frac{b}{2}\sum _{{\it \_R1}={\it RootOf} \left ( c{{\it \_Z}}^{3}+1 \right ) }\ln \left ( x \right ) \ln \left ({\frac{{\it \_R1}-x}{{\it \_R1}}} \right ) +{\it dilog} \left ({\frac{{\it \_R1}-x}{{\it \_R1}}} \right ) } \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*arctanh(c*x^3))/x,x)

[Out]

a*ln(x)+b*ln(x)*arctanh(c*x^3)+1/2*b*sum(ln(x)*ln((_R1-x)/_R1)+dilog((_R1-x)/_R1),_R1=RootOf(_Z^3*c-1))-1/2*b*
sum(ln(x)*ln((_R1-x)/_R1)+dilog((_R1-x)/_R1),_R1=RootOf(_Z^3*c+1))

________________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{2} \, b \int \frac{\log \left (c x^{3} + 1\right ) - \log \left (-c x^{3} + 1\right )}{x}\,{d x} + a \log \left (x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x^3))/x,x, algorithm="maxima")

[Out]

1/2*b*integrate((log(c*x^3 + 1) - log(-c*x^3 + 1))/x, x) + a*log(x)

________________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{b \operatorname{artanh}\left (c x^{3}\right ) + a}{x}, x\right ) \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x^3))/x,x, algorithm="fricas")

[Out]

integral((b*arctanh(c*x^3) + a)/x, x)

________________________________________________________________________________________

Sympy [F(-1)]  time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*atanh(c*x**3))/x,x)

[Out]

Timed out

________________________________________________________________________________________

Giac [F]  time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{b \operatorname{artanh}\left (c x^{3}\right ) + a}{x}\,{d x} \end{align*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*arctanh(c*x^3))/x,x, algorithm="giac")

[Out]

integrate((b*arctanh(c*x^3) + a)/x, x)